﻿namespace Eff.Windows.ActiveDirectory.Enum
{
    /// <summary>
    /// 用户登录验证结果
    /// </summary>
    public enum LoginResult
    {
        /// <summary>
        /// 成功
        /// </summary>
        Ok = 1,

        /// <summary>
        /// 用户不存在
        /// </summary>
        NotExist = 0,

        /// <summary>
        /// 用户帐号被禁用
        /// </summary>
        Inactive = -1,

        /// <summary>
        /// 用户密码不正确
        /// </summary>
        PasswordIncorrect = -2
    }
}
